package com.finstate.util;

import com.finstate.service.MessagesService;

public class MessagesUtil {
	
	private static MessagesService messageService;
	
	public static String getMessage(String key, String language){
		return messageService.getMessage(key, language);
	}
	
	public static String getMessage(String key, String language, Object... args){
		return messageService.getMessage(key, args, language);
	}

	public void setMessageService(MessagesService messageService) {
		MessagesUtil.messageService = messageService;
	}

}
